package top.twoteam.equipment.entity;

import java.util.Arrays;

/**
 * 设备图片
 */
public class EquipmentImage {
    private Integer id;

    private Integer eqid;

    private byte[] picontent;

    private String pictype;

    public EquipmentImage() {
    }

    public EquipmentImage(Integer id, Integer eqid, byte[] picontent, String pictype) {
        this.id = id;
        this.eqid = eqid;
        this.picontent = picontent;
        this.pictype = pictype;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEqid() {
        return eqid;
    }

    public void setEqid(Integer eqid) {
        this.eqid = eqid;
    }

    public byte[] getPicontent() {
        return picontent;
    }

    public void setPicontent(byte[] picontent) {
        this.picontent = picontent;
    }

    public String getPictype() {
        return pictype;
    }

    public void setPictype(String pictype) {
        this.pictype = pictype;
    }

    @Override
    public String toString() {
        return "EquipmentImage{" +
                "id=" + id +
                ", eqid=" + eqid +
                ", picontent=" + Arrays.toString(picontent) +
                ", pictype='" + pictype + '\'' +
                '}';
    }
}